/*
 * wavetable.h
 *
 * 		Function for calculating wavetables for sine, saw-tooth
 * 		and square waveforms
 *
 *      Author: Colin
 */

#ifndef WAVETABLE_H_
#define WAVETABLE_H_

#include <stdint.h>
#include <math.h>
#include <defs.h>

// waveform identification
#define SINE	1
#define SAW		2
#define SQUARE	3

int32_t* wavetable_init(int32_t waveform);

#endif /* WAVETABLE_H_ */
